package min.chapter.five;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class AopServiceAcquisition {

	public static void main(String[] args) {
		ApplicationContext context = new FileSystemXmlApplicationContext(
				"src/min/chapter/five/TimeCheckAdvice.xml");
		AopService service = (AopService) context.getBean("service");
		service.add();
		service.delete();
	}
}
